package com.unionx.unionxuf.localdao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.unionx.unionxuf.entity.Cobp;
import com.unionx.unionxuf.entity.ComBill;
import com.unionx.unionxuf.entity.ComBill2;
import com.unionx.unionxuf.entity.CropDTD;

@Repository
public interface ComBillMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ComBill record);//

    int insertSelective(ComBill record);

    ComBill selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ComBill record);

    int updateByPrimaryKey(ComBill record);
    
    
    int deleteall();

	String getMaxLsh(String cid);
	
	/*List<ComBill> selectNew(String lsh);*/
	
	int insertcopy(ComBill cb);//

	List<ComBill> selectBycon(ComBill cbp);

	int insertx(ComBill comBill);

	List<ComBill> selectbyCB2(ComBill2 cbs);

	int getCount();

	/*List<ComBill> selectByLsh(String string);*/

	int  deletebydtd(CropDTD c);

	int countSelectCb2(ComBill2 cbs);

	List<ComBill> selectNew(Cobp cbp);

	List<ComBill> selectByLsh(Cobp cbp);

	List<Integer> selectId(String cropid);

	List getByLsh(String serialno);

	

	
}